﻿using FastIOC.Desgin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test.DBTest
{
    public class MySQLCatch : ICatch
    {
        [InterceptAttibute]
        public void Catch(string CatchTxT)
        {
            Console.WriteLine("MySQLCatch" + CatchTxT);
        }

        [InterceptAttibute]
        public void UnCatch()
        {
            Console.WriteLine("MySQLUnCatch");
        }
        [InterceptAttibute]
        public string SaveCatch()
        {
            Console.WriteLine("MySQLSaveCatch");
            return "MySQLCatchSave";
        }
    }
}
